]> dgit.raspbian.org Git - gnome-shell.git/commit
st-theme-node-drawing: Fix centering when the image needs to be scaled
authorJasper St. Pierre <jstpierre@mecheye.net>
Sun, 2 Oct 2011 16:58:19 +0000 (12:58 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 4 Oct 2011 19:46:01 +0000 (15:46 -0400)
commit0ccb2800089822ac200cb20a2bbfddf1c31bbf4b
tree62d15e19b8362af481b5c80cc688b4685f3af3dc
parent28c3e0693e5888032976d78037ca8373379d9b19
st-theme-node-drawing: Fix centering when the image needs to be scaled

The translate coordinates are calculated as the offset after the scale, so it
needs to be applied after the scale as well. This fixes random centering issues
in the UI.

https://bugzilla.gnome.org/show_bug.cgi?id=660674
src/st/st-theme-node-drawing.c